<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>作用域-函数作用域</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
    </style>
</head>
<body>
	<div class="container">
		<h1>作用域-函数作用域</h1>
	</div>
<!-- <script src="03-1.js"></script>	 -->
<script src="03-2.js"></script>	
<script type="text/javascript">
"use strict"
console.log($)
// 挂载后， 外部访问函数作用域中的数据
console.log($.getUrl(), $.web)

console.log(typeof url, typeof site)



</script>
</body>
</html>